import request from '@/api/request';

/**
 * ws消息推送
 * @param {*} query 参数
 * @returns 返回Promise对象
 */
export const wsSendMsgApi = query => {
    return request({
        url: '/api/im/ws/sendWsMsg',
        method: 'post',
        data: query,
        isLoading: true
    });
};
